Re: Schema move for opclasses, operator and conversions

Поиск
Список
Период
Сортировка
От Bernd Helmle
Тема Re: Schema move for opclasses, operator and conversions
Дата
Msg-id 4D89BA01AF54609AB4E261DF@[192.168.100.105]
обсуждение исходный текст
Ответ на Re: Schema move for opclasses, operator and conversions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Schema move for opclasses, operator and conversions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches

--On Donnerstag, Juni 01, 2006 23:03:39 -0400 Tom Lane <tgl@sss.pgh.pa.us>
wrote:

> Not to be unkind,

Don't worry ;)

< but is this feature actually worth the code space?
> I can barely see a use case for relocating operators, and as for the
> other two, who's ever going to use them?
>

Well, i thought it would be useful for people which are going to reorganize
an entire database schema. Since we have schema move capabilities for
tables, functions, sequences et al., someone could then easily setup a
script to move
an entire schema to a new one.

> I understand about orthogonality and all that, but we have limited
> manpower, and every thousand lines of code costs us ongoing maintenance
> effort whether it's ever used in the field or not.
>
> What I'd love to see is a patch that *removes* a few thousand lines
> of code by finding a way to do this just once for all object types...

so something like ALTER SCHEMA schema MOVE OBJECTS newschema?
Sounds like a reasonable idea....

--
  Thanks

                    Bernd

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Schema move for opclasses, operator and conversions
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Schema move for opclasses, operator and conversions